dragicon: Make a function propertly exported
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 Nov 2020 12:23:38 +0000 (07:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Nov 2020 12:23:38 +0000 (07:23 -0500)
Mark gtk_drag_icon_create_widget_for_value with
GDK_AVAILABLE_IN_ALL, since it is meant to be public.
Also, clarify the documentation a bit.

Fixes: #3325
gtk/gtkdragicon.c
gtk/gtkdragicon.h

index e16d0d8b8c28f464bf248412b69a25ae9755a2d3..234867495163b840caa6ef3e6d6df85c7d3b1526 100644 (file)
@@ -500,6 +500,7 @@ gtk_drag_icon_get_child (GtkDragIcon *self)
  * Creates a widget that can be used as a drag icon for the given
  * @value.
  *
+ * Supported types include strings, #GdkRGBA and #GtkTextBuffer.
  * If GTK does not know how to create a widget for a given value,
  * it will return %NULL.
  *
index 018b9d4f6aab63c019c8f6315f67864cbde80845..ea5907f38cce3cbe09230b59dae042d7816a0ae9 100644 (file)
@@ -51,6 +51,7 @@ void            gtk_drag_icon_set_from_paintable (GdkDrag      *drag,
                                                   int           hot_x,
                                                   int           hot_y);
 
+GDK_AVAILABLE_IN_ALL
 GtkWidget *     gtk_drag_icon_create_widget_for_value           (const GValue           *value);
 
 G_END_DECLS